package com.woniuxy.depot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.depot.model.DTO.Condition;
import com.woniuxy.depot.model.DTO.InStockDTO;
import com.woniuxy.depot.model.DTO.Statistics;
import com.woniuxy.depot.model.VO.StockGoodsVO;
import com.woniuxy.depot.model.VO.StockGoodssVO;
import com.woniuxy.depot.model.entity.DepotInStock;

import java.util.List;

public interface DepotInStockService {

    Page<DepotInStock> all(int current, int size);

    List<DepotInStock> searchByGoodsCode(String code);

    List<DepotInStock> searchByCondition(Condition condition);

    Boolean updateState(String formNo, Integer state);

    Boolean insert(InStockDTO inStockDTO);

    List<StockGoodssVO> detail(Integer id);

    List<Statistics> statistics();
}
